package com.syw.entity;

import java.util.Date;

/**
 * SywMaintain entity. @author MyEclipse Persistence Tools
 */

public class SywMaintain implements java.io.Serializable {

	// Fields

	private int id;
	private SywDept sywDept;
	private SywMaintainstate sywMaintainstate;
	private SywUser sywUser;
	private String event;
	private int empid;
	private Date begidate;
	private Date enddate;

	// Constructors

	/** default constructor */
	public SywMaintain() {
	}

	/** minimal constructor */
	public SywMaintain(SywDept sywDept, SywMaintainstate sywMaintainstate,
			SywUser sywUser, String event) {
		this.sywDept = sywDept;
		this.sywMaintainstate = sywMaintainstate;
		this.sywUser = sywUser;
		this.event = event;
	}

	/** full constructor */
	public SywMaintain(SywDept sywDept, SywMaintainstate sywMaintainstate,
			SywUser sywUser, String event, int empid, Date begidate,
			Date enddate) {
		this.sywDept = sywDept;
		this.sywMaintainstate = sywMaintainstate;
		this.sywUser = sywUser;
		this.event = event;
		this.empid = empid;
		this.begidate = begidate;
		this.enddate = enddate;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public SywDept getSywDept() {
		return this.sywDept;
	}

	public void setSywDept(SywDept sywDept) {
		this.sywDept = sywDept;
	}

	public SywMaintainstate getSywMaintainstate() {
		return this.sywMaintainstate;
	}

	public void setSywMaintainstate(SywMaintainstate sywMaintainstate) {
		this.sywMaintainstate = sywMaintainstate;
	}

	public SywUser getSywUser() {
		return this.sywUser;
	}

	public void setSywUser(SywUser sywUser) {
		this.sywUser = sywUser;
	}

	public String getEvent() {
		return this.event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public int getEmpid() {
		return this.empid;
	}

	public void setEmpid(int empid) {
		this.empid = empid;
	}

	public Date getBegidate() {
		return this.begidate;
	}

	public void setBegidate(Date begidate) {
		this.begidate = begidate;
	}

	public Date getEnddate() {
		return this.enddate;
	}

	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}

}